Xbasic

BLOB.POKEW Function

Syntax

N pokew(N position,N Value)

Arguments

position

The position to write the data.

Value

A sixteen bit value.

Description

Set the value of a 16-bit word of the blob.

Discussion

The .POKEW() method sets a 16 bit word at Position in a blob to a Word_Value. The first position is 1.

Example

b4 = file.to_blob("C:\Wallpaper\ruth_2_081003.jpg")
b4.pokew(10,12345)

See Also